package com.ufun.financegateway.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author BlendLiu
 * @date 2021/4/20 15:16
 */
@Data
public class NetPayRequestDto {

    @ApiModelProperty(value = "固定为 1.0")
    @NotBlank(message = "版本不能为空")
    private String version;

    @ApiModelProperty(value = "签名")
    @NotBlank(message = "签名不能为空")
    private String sign;

    @ApiModelProperty(value = "固定为 SHA-256")
    @NotBlank(message = "加密方式不能为空")
    private String signType;

    @ApiModelProperty(value = "加密参数")
    @NotNull(message = "加密参数不能为空")
    private NetPayRequestDataDto reqData;


}
